package io.sophiadata.flink.sync.entity;

import java.io.Serializable;

public class DataSyncConfigEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    private String job_name;
    private String sinkUrl;
    private String sinkUserName;
    private String sinkPassword;

    private String sourceUrl;
    private String sourceUserName;
    private String sourcePassword;
    private String sourceDatabaseName;
    private String sourceTableName;

    private String sinkDatabaseName;
    private String sinkTableName;


    // getter and setter

    public String getJob_name() {
        return job_name;
    }

    public void setJob_name(String job_name) {
        this.job_name = job_name;
    }

    public String getSinkUrl() {
        return sinkUrl;
    }

    public void setSinkUrl(String sinkUrl) {
        this.sinkUrl = sinkUrl;
    }

    public String getSinkUserName() {
        return sinkUserName;
    }

    public void setSinkUserName(String sinkUserName) {
        this.sinkUserName = sinkUserName;
    }

    public String getSinkPassword() {
        return sinkPassword;
    }

    public void setSinkPassword(String sinkPassword) {
        this.sinkPassword = sinkPassword;
    }

    public String getSourceUrl() {
        return sourceUrl;
    }

    public void setSourceUrl(String sourceUrl) {
        this.sourceUrl = sourceUrl;
    }

    public String getSourceUserName() {
        return sourceUserName;
    }

    public void setSourceUserName(String sourceUserName) {
        this.sourceUserName = sourceUserName;
    }

    public String getSourcePassword() {
        return sourcePassword;
    }

    public void setSourcePassword(String sourcePassword) {
        this.sourcePassword = sourcePassword;
    }

    public String getSourceDatabaseName() {
        return sourceDatabaseName;
    }

    public void setSourceDatabaseName(String sourceDatabaseName) {
        this.sourceDatabaseName = sourceDatabaseName;
    }

    public String getSourceTableName() {
        return sourceTableName;
    }

    public void setSourceTableName(String sourceTableName) {
        this.sourceTableName = sourceTableName;
    }

    public String getSinkDatabaseName() {
        return sinkDatabaseName;
    }

    public void setSinkDatabaseName(String sinkDatabaseName) {
        this.sinkDatabaseName = sinkDatabaseName;
    }

    public String getSinkTableName() {
        return sinkTableName;
    }

    public void setSinkTableName(String sinkTableName) {
        this.sinkTableName = sinkTableName;
    }

    @Override
    public String toString() {
        return "DataSyncConfigEntity{" +
                "job_name='" + job_name + '\'' +
                ", sinkUrl='" + sinkUrl + '\'' +
                ", sinkUserName='" + sinkUserName + '\'' +
                ", sinkPassword='" + sinkPassword + '\'' +
                ", sourceUrl='" + sourceUrl + '\'' +
                ", sourceUserName='" + sourceUserName + '\'' +
                ", sourcePassword='" + sourcePassword + '\'' +
                ", sourceDatabaseName='" + sourceDatabaseName + '\'' +
                ", sourceTableName='" + sourceTableName + '\'' +
                ", sinkDatabaseName='" + sinkDatabaseName + '\'' +
                ", sinkTableName='" + sinkTableName + '\'' +
                '}';
    }
}
